import req from '@/utils/request';

//用户分析-用户统计
export const chartUserStatistics = (params) => req.post('/chart/userStatistics', params);

//用户分析-用户活跃
export const chartActiveUser = (params) => req.post('/chart/activeUser', params);

//用户分析-用户留存
export const chartRetainedByUsers = (params) => req.post('/chart/retainedByUsers', params);

//用户分析-在线详情
export const chartOnlinedetails = (params) => req.post('/chart/onlinedetails', params);




//流水分析-付费统计卡片
export const chartPaymentStatisticsCard = (params) => req.post('/chart/paymentStatisticsCard', params);

//流水分析-付费统计
export const chartRechargeStatistics = (params) => req.post('/chart/rechargeStatistics', params);

//流水分析-付费统计详情
export const chartRechargeStatisticsDetail = (params) => req.post('/chart/rechargeStatisticsDetail', params);

//流水分析-付费统计LTV
export const chartPaymentStatisticsLtv = (params) => req.post('/chart/paymentStatisticsLtv', params);

//流水分析-提现统计详情
export const chartWithdrawDetails = (params) => req.post('/chart/withdrawDetails', params);

//付费分析-首次付费人数 1.2
export const chartRechargeUserFirstRechargeRetention = (params) => req.post('/chart/rechargeUserFirstRechargeRetention', params);

//付费统计
export const chartRechargeLineChart = (params) => req.post('/chart/rechargeLineChart ', params);

//付费详情
export const chartRechargeDetail = (params) => req.post('/chart/rechargeDetail', params);

//提现详情
export const chartWithdrawDetail = (params) => req.post('/chart/withdrawDetail', params);

//提现统计
export const chartWithdrawLineChart = (params) => req.post('/chart/withdrawLineChart', params);



//通话数据折线图
export const chartCallData = (params) => req.post('/chart/callData', params);

// //通话统计详情
// export const chartCallStatistics = (params) => req.post('/chart/callStatistics', params);

//通话统计详情
export const chartCallStatistics = (params) => req.post('/chart/newCallStatistics', params);


//渠道分析-渠道增长
export const chartChannelGrowth = (params) => req.post('/chart/channelGrowth', params);

//渠道折线图
export const chartChannelAnalysis = (params) => req.post('/chart/channelAnalysis', params);

//渠道分析-性别统计
export const chartGenderAnalysis = (params) => req.post('/chart/genderAnalysis', params);

//事件统计-登录统计
export const chartLoginStatistics = (params) => req.post('/chart/loginStatistics', params);

//事件统计-匹配统计
export const chartMatchingStatistics = (params) => req.post('/chart/matchingStatistics', params);

//事件统计-预约统计
export const chartAppointmentStatistics = (params) => req.post('/chart/appointmentStatistics', params);

//货币分析
export const chartGoldCoinLine = (params) => req.post('/chart/goldCoinLine', params);


//事件分析匹配统计
export const chartMateStatistics = (params) => req.post('/chart/mateStatistics', params);

//事件分许约会统计
export const chartAppointmentNewStatistics = (params) => req.post('/chart/appointmentNewStatistics', params);

//事件分许拨打统计
export const chartDialStatistics = (params) => req.post('/chart/dialStatistics', params);


//埋点列表
export const buryingList = (params) => req.post('/burying/list', params);

//埋点编辑
export const buryingEdit = (params) => req.post('/burying/edit', params);

//添加埋点
export const buryingAdd = (params) => req.post('/burying/add', params);



//渠道列表下拉框
export const channelList = (params) => req.post('/channel/list', params);


//活动分析-活动统计
export const activityanalysisStatistics = (params) => req.post('/activityanalysis/statistics', params);

//当前活动点击次数与曝光次数
export const activityanalysisCurrent = (params) => req.post('/activityanalysis/current', params);

//历史活动点击次数与曝光次数
export const activityanalysisHistorical = (params) => req.post('/activityanalysis/historical', params);

//用户分析-用户统计（总计）
export const chartUserTotalStatistics = (params) => req.post('/chart/userTotalStatistics', params);


//活跃用户折现图
export const chartActiveUserOrDuration = (params) => req.post('/chart/activeUserOrDuration', params);


//流水数据
export const chartFlowDate = (params) => req.post('/chart/flowDate', params);

//用户画像
export const userPortrait = (params) => req.post('/user/userPortrait', params);

//在线情况折线图
export const chartOnlinedetailsLine = (params) => req.post('/chart/onlinedetailsLine', params);

//用户画像省市数据
export const areaList = (params) => req.post('/area/list', params);

//埋点列表导入
export const buryingImport = (params) => req.post('/burying/import', params);
//埋点上报
export const buryingReport = (params) => req.post('/burying/report', params);


// 获取业务数据列表
export const getDataList_api = (params) => req.post('/AdminSystemDailyData/statisticalList', params);
